import { createRouter, createWebHistory ,createWebHashHistory } from 'vue-router';
import Home from '../components/HelloWorld.vue';
import AboutAa from '../components/AboutA.vue';

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/AboutA',
    name: 'AboutA',
    component: AboutAa,

  }
];

const router = createRouter({
  // history: createWebHistory(),
  history: createWebHashHistory (),
  routes
});

export default router;